package com.yb.project.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.yb.project.base.mapper.BaseMapper;
import com.yb.project.system.domain.SysUser;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
	
	SysUser getByUsername(String username);
	
	List<String> getRolesByUsername(String username);
	
	List<String> getPermissionsByUsername(String username);
	
	List<String> getAllPermissions();
}